<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script>
        var a = 30;
        var b = 20;
        var c= Math.max(a,b);
        var c= Math.min(a,b,50,3);
    </script>
</body>
</html>